package com.yorick.authority.modal.request.ipWhiteList;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class IPWhiteListEditRequest extends IPWhiteListAddRequest{
    @JsonProperty("id")
    @NotNull
    private int id;
    @JsonProperty("enabled")
    @Max(1)
    private int enabled;
}
